package com.guangzi.mapper;

import com.guangzi.common.Pager;
import com.guangzi.entity.Hkb;
import com.guangzi.query.HkbQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface HkbDao extends BaseDao {

    //批量生成还款计划
    void saveList(List<Hkb> hkbList);
    @Override
    List<Object> listPager(@Param("pager") Pager pager);
    @Override
    List <Object> listPagerCriteria(@Param("pager") Pager pager, @Param("query") Object obj);
    @Override
    Long countCriteria(@Param("query") Object obj);



    List <Object> listPager(@Param("pager") Pager pager,@Param("uid")Long uid);


    Long count(@Param("uid") Long uid);

    void updateHmoney(HkbQuery hkbQuery);

    //后台查看还款详情
    List <Object> find(@Param("pager") Pager pager,@Param("query") Object obj);

    Long countByUid(@Param("query") Object obj);


}
